]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Add adjustAnimationTime() helper
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 4 Jun 2014 22:13:14 +0000 (00:13 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 6 Aug 2019 18:50:43 +0000 (20:50 +0200)
commitae2af34453fb2c97487dce54be4d61846f4cad9b
treeb4dd19c9b6bc42c37b036100891bb24586abfc9a
parentfdf24ceecc62984bf932db5275aedcc3b02375bf
environment: Add adjustAnimationTime() helper

As we currently use Tweener for all animations, we have a single place
for hooking up the enable-animations and slow-down-factor settings.
However that will no longer hold true when we'll start to use Clutter's
built-in animation facilities, so add a small helper function that
applies the necessary adjustments.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/22
js/ui/environment.js